﻿#ifndef CODER_H
#define CODER_H

#include <QDialog>
#include <QString>
#include <QTimerEvent>
#include <QSqlQuery>

#include "m_fhs.h"

namespace Ui {
class Coder;
}

class Coder : public QDialog
{
    Q_OBJECT

public:
    explicit Coder(QWidget *parent = 0);
    ~Coder();

    void timerEvent(QTimerEvent *event);
    void setAutoClosed(bool flag=false);

private slots:
    void on_btn_search_clicked();

private:
    Ui::Coder *ui;

    int timerId;
    bool isAutoClosed;
};

#endif // CODER_H
